/*
 * Copyright (c) 2021. Moses All Right Reserved
 */

package com.moses.design_patterns.iterator;

import java.util.Date;

/**
 * @author Moses
 * @email shenhuohui@gmail.com
 * @date 2021/4/16 22:23
 */
// 定义事物
public class Project {
    private String name;
    private Date date;

    public Project(String name, Date date) {
        this.name = name;
        this.date = date;
    }

    @Override
    public String toString() {
        return "Project{" +
                "name='" + name + '\'' +
                ", date=" + date +
                '}';
    }
}
